import axios from '../utils/axios';

export async function getUserInfo(params) {
  return axios({
    url: '/common/getUserInfo',
    method: 'get',
    params,
    title: '获取用户信息'
  });
}